package com.woniuxy.pojo;

public class Address {
    //地址id
    private int id;
    //用户名id
    private int userid;
    //收货人
    private String accept ;
    //电话
    private String telphone;
    //省
    private String province;
    //城市
    private String city;
    //区
    private String area;
    //具体地址
    private String address;
    //是否为默认地址
    private String type;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getUserid() {
        return userid;
    }
    public void setUserid(int userid) {
        this.userid = userid;
    }
    public String getAccept() {
        return accept;
    }
    public void setAccept(String accept) {
        this.accept = accept;
    }
    public String getTelphone() {
        return telphone;
    }
    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getArea() {
        return area;
    }
    public void setArea(String area) {
        this.area = area;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    @Override
    public String toString() {
        return "Address [id=" + id + ", userid=" + userid + ", accept=" + accept + ", telphone=" + telphone
                + ", province=" + province + ", city=" + city + ", area=" + area + ", address=" + address + ", type="
                + type + "]";
    }
    public Address(int id, int userid, String accept, String telphone, String province, String city, String area,
                   String address, String type) {
        super();
        this.id = id;
        this.userid = userid;
        this.accept = accept;
        this.telphone = telphone;
        this.province = province;
        this.city = city;
        this.area = area;
        this.address = address;
        this.type = type;
    }
    public Address() {
        super();
    }

}

